package com.jxc.jxc01.yk.service;



import com.jxc.jxc01.yk.entity.Customer;
import com.jxc.jxc01.yk.entity.PageHelper;

import java.util.List;

public interface ICustomerService {
    /**
     * 增加客户信息
     */
    public boolean addCustomer(Customer customer);
    /**
     * 查询客户信息
     */
    public List<Customer> findCustomerList(PageHelper<Customer> pageHelper);

    /**根据客户姓名查找某一条记录*/
    public List<Customer> findOneOfCustomer(String customername);

    /**
     * 删除客户信息
     */
    public boolean deleteCustomer(int id);

    /**
     * 修改客户信息
     */
    public boolean updateCustomer(Customer customer);

}
